package com.googlecode.stew_faces.demo;

import java.io.Serializable;

public class NavigationBean implements Serializable{

	private String currentPage = "startup";
	private String currentPageURL = "/sections/startup.xhtml";
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public void showContent(String paramPage)
	{
		setCurrentPage(paramPage);
		setCurrentPageURL("/sections/"+paramPage+".xhtml");
	}

	public String getCurrentPageURL() {
		return currentPageURL;
	}

	public void setCurrentPageURL(String currentPageURL) {
		this.currentPageURL = currentPageURL;
	}

	public String getCurrentPage() {
		return currentPage; 
	}

	public void setCurrentPage(String currentPage) {
		this.currentPage = currentPage;
	}
	
}
